/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.crystalrange.softwares.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.crystalrange.files.model.FileType;
import org.crystalrange.model.User;

/**
 *
 * @author Krzysiek
 */
public class SoftwareVersion {
    private Long id;
    private String name;
    private String description;
    private Date createdDate;
    private User createdBy;
    private Software software;
    private List<FileType> fileTypes;

    public SoftwareVersion() {
        this.fileTypes = new ArrayList<FileType>();
    }
    
    public User getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(User createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Software getSoftware() {
        return software;
    }

    public void setSoftware(Software software) {
        this.software = software;
    }

    public List<FileType> getFileTypes() {
        return fileTypes;
    }

    public void setFileTypes(List<FileType> fileTypes) {
        this.fileTypes = fileTypes;
    }
}
